package cheme.ProcessEditor.Figures.Util;

import org.eclipse.draw2d.geometry.Insets;

import cheme.ProcessEditor.Figures.AbstractResizableGroupFig;

public class CompartmentFig extends AbstractResizableGroupFig
{
	public CompartmentFig()
	{
		super();
	}
	
	public CompartmentFig(boolean verticalLayout)
	{
		super();
		layout.setVertical(verticalLayout);
	}
	
	@Override
	public Insets getInsets()
	{
		/*
		 * The default insets for AbstractResizableGroupFig is 1,1,1,1.
		 * We dont want to see comaprtments.
		 */
		return new Insets(0);
	}
}
